package com.ybu.pojo.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
@Data
public class UserLoginDTO {
    @NotBlank(message ="登录时用户名不能为空")
    private String username;
    @NotBlank(message = "登录时密码不能为空")
    private String password;
//    private String token;
}
